CREATE TABLE [dbo].[_ERROR](
	[ERR_ID] [int] IDENTITY(1,1) NOT NULL,
	[ERR_DATE] [datetime] NOT NULL CONSTRAINT [DF__ERROR_ERR_DATE]  DEFAULT (getdate()),
	[ERR_USR_ID] [int] NULL,
	[ERR_FORM] [varchar](100) COLLATE SQL_Hungarian_CP1250_CS_AS NULL,
	[ERR_MESSAGE] [varchar](1000) COLLATE SQL_Hungarian_CP1250_CS_AS NULL,
	[ERR_DETAIL] [varchar](1000) COLLATE SQL_Hungarian_CP1250_CS_AS NULL,
 CONSTRAINT [PK__ERROR] PRIMARY KEY CLUSTERED 
(
	[ERR_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]